-- GENERATED SPELL FOR [Nasmara Moonsong] --


function spell0_22208(pUnit, Event) --@Unlearn Mooncloth Tailoring,n/a--
pUnit:FullCastSpellOnTarget(41558,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22208', 593, 1)
end

function Sorts_22208(pUnit, Event)
local choix_sorts_22208 = math.random(0, 0)
if choix_sorts_22208 == 0 then
pUnit:RegisterEvent('spell0_22208', 1, 1)
end
end

function mob22208_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22208', math.random(1500, 3000), 1)
end

function mob22208_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22208_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22208_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22208, 1, 'mob22208_Action')
RegisterUnitEvent(22208, 2, 'mob22208_Leave')
RegisterUnitEvent(22208, 3, 'mob22208_Kill')
RegisterUnitEvent(22208, 4, 'mob22208_Die')
